home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12394 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  4.0 KB

  1. Path: ra.nrl.navy.mil!usenet
  2. From: pitre@n5160d.nrl.navy.mil (Richard Pitre)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C++ vs Delphi 2.0
  5. Date: 19 Mar 1996 20:49:47 GMT
  6. Organization: Naval Research Laboratory
  7. Message-ID: <4in6lb$16s@ra.nrl.navy.mil>
  8. References: <4ims71$oh3@hawk.pix.za>
  9. NNTP-Posting-Host: n5160d.nrl.navy.mil
  10.  
  11. In article <4ims71$oh3@hawk.pix.za> prism@pixie.co.za (Pri$m) writes:
  12. > Jesper Bagger <Jesper.Bagger@cdc.com> wrote:
  13. > >info@axiombc.demon.co.uk (General Account) wrote:
  14. > >> --- <snip>.
  15. > >>Is C++ easier to develop in?
  16. > >No, C++ has a steep learning curve compared with Pascal (Delphi), and much  
  17. slower compilation 
  18. > >speed. So the design-code-test cyclus is much shorter with Delphi.
  19. > I've programmed in both Delphi and C++. Yes, Delphi is beatifully easy
  20. > to use. Yes, it's a faster development tool. But what's more important
  21. > is how fast you want your program to RUN, not be developed.
  22.  
  23. What's most important is that you can get your program to exist.
  24. Second you want your program to do what you intended to do.
  25. Third you want to be able to read  and understand your own code 
  26.      next week so you can fix it and make it do more good stuff.
  27. Fourth you want to be able to use your program together with other programs.
  28. Fifth you want it to go as fast as possible given that the
  29.     first four conditions are met.
  30.  
  31. Some people will argue about the order of the last few items and other
  32. poeple would add more items to this list.
  33. Fundamentally, its your performance that matters, not the machine's
  34. performance. If you can figure out how its otherwise then 
  35. program in assembler or machine code.
  36.  
  37. > >>Has Delphi as many widgets available for Win95 as does C++?
  38. > >Don't know, ask somebody else.
  39. > Yes - Delphi 2.0 has every widget\gadget\class Borland C++ 5.0 has.
  40. > (To the best of my knowledge.)
  41.  
  42. Does Borland C++ 5.0 have every widget that Delphi 2.0 has?
  43.  
  44. > >>Is Delphi True OO, as is C++?
  45.  
  46. I don't think that either one is true OO. C++ definitely isn't.
  47.  
  48. > >Sure. The major difference is, that there is no implicit  
  49. constructor/destructor calls in 
  50. > >Delphi. When objects is created, a Init-procedure must be called. Before  
  51. objects are deleted, 
  52. > >a Close/Destruct-procedure must be called, if the objects allocate other  
  53. objects dynamically.
  54. > >>In real terms, where does Delphi sit, with reference to overall
  55. > >>program speed? Basing this on C++, Access & VB 4.0.
  56. > >Don't know, ask somebody else.
  57. > Delphi destroys VB. I'm not sure about Access. C++ is, however, from
  58. > my personal tests, much faster.
  59.  
  60. Much faster?
  61.  
  62. > >>What about Class Libraries, can we use C++ libraries in Delphi?
  63. > >Yes.
  64. > The problem with Delphi is that most people don't seem to realise that
  65. > true programming power\flexibility and ease of use are generally
  66. > mutually exclusive. 
  67.  
  68. "Mutually exclusive" is a little strong these days.
  69. I think that Delphi was designed to get around some this limitation.
  70. That's part of what I think "RAD" is supposed to imply.
  71.  
  72. > Delphi is in Pascal ... which is fundamentally
  73. > a teaching language and was never meant as anything more.
  74.  
  75. Fundamentally?! 
  76.  
  77. > C++ .exe's
  78. > tend to be smaller and faster than Delphi .exe's. Although C++ has no
  79. > real standard, it's getting there and it is younger than Pascal.
  80. > Pascal tries to be English-like and this it has become pretty rigid.
  81. >
  82. > (This is a personal opinion) 
  83.  
  84. Really?
  85.  
  86. > to fit smoothly ith OOP. Additionally, if
  87. > you use Delphi, you'll find that the general feel of it discourages
  88. > one from using code, and directly controlling things. This can't be
  89. > good! 
  90.  
  91. Get outta hear. Really?
  92.  
  93. > Cheerz,
  94. >            Pri$m.
  95. >
  96.  
  97. Get Delphi and find out for yourself. 
  98. You'll never get to the bottom of it
  99. reading any of these threads. C++ is also fine
  100. but my guess, based on your questions is
  101. that you would be happier all around with something like
  102. Delphi. I'm guessing that it will give you and your machine 
  103. together good all around performance. Borland makes good tools.
  104. Visual Basic might also be a very good option.
  105.  
  106. richard
  107.